package com.delong.dao.market;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.delong.model.market.DataSource;

public interface DataSourceMapper {

	void deleteElement(@Param("id") int id);

	void addElement(DataSource element);

	void changeElement(DataSource element);

	List<DataSource> selectList(@Param("source_uuid") int source_uuid, @Param("pageno") int pageno,
			@Param("limit") int limit, @Param("title") String title, @Param("packagename") String packagename);

	int selectListcount(@Param("source_uuid") int source_uuid, @Param("title") String title,
			@Param("packagename") String packagename);

	DataSource selectElementById(@Param("id") int id);

}
